home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000019_news@newsmaster….columbia.edu _Fri Jul 4 11:59:34 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA15646
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 4 Jul 1997 11:59:34 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA15625
  7.     for kermit.misc@watsun; Fri, 4 Jul 1997 11:59:34 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.unix.aix,comp.os.linux.misc,comp.protocols.kermit.misc
  11. Subject: Re: C-Kermit Paging script problem
  12. Date: 4 Jul 1997 15:59:33 GMT
  13. Organization: Columbia University
  14. Lines: 46
  15. Message-ID: <5pj6l5$f87$1@newsmaster.cc.columbia.edu>
  16. References: <33BA9E5A.742@ibm.net> <5pgi1o$31c$1@newsmaster.cc.columbia.edu> <33BBB260.1BEF@ibm.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.unix.aix:115653 comp.os.linux.misc:202398 comp.protocols.kermit.misc:7264
  19.  
  20. In article <33BBB260.1BEF@ibm.net>, Michael Roeder  <mroede1@ibm.net> wrote:
  21. [Regarding the C-Kermit Alpha Paging script...]
  22. : Actually, I seemed to have found the problem. There were 5 places where
  23. : semicolons were missing from the comments in the the ckepage.ksc. One
  24. : was before the "No prompt", another was in front of the "Timed out or
  25. : unknown response", in front of "Forced disconnect," in front of "Illegal
  26. : message" and at the end "Timed out or unknown response." That fixed my
  27. : problem. Possibly the compiled version I downloaded has a bad version of
  28. : this script.
  29. These are not comments, they are error messages to be printed by the script
  30. under the appropriate conditions; thus they should not be commented out.
  31. The Kermit command:
  32.  
  33.   END <n> <text>
  34.  
  35. means to exit from the current command level (macro or command file) to the
  36. previous one, returning a code of <n> (0 = success, nonzero = failure) and
  37. print the <text>.  The status code and text are optional.
  38.  
  39. : I have since used ckepage with success! So 1K length may not be the
  40. : issue here.
  41. It was -- the TAPMSG script was just a few bytes over 1K in length; the new
  42. one fits in 1K:
  43.  
  44.   http://www.columbia.edu/kermit/f/ckepage.ksc
  45.  
  46. Its size was reduced by abbreviating some of the commands (IN for INPUT, OUT
  47. for OUTPUT, etc).
  48.  
  49. Incidentally, while looking at this problem, I also discovered that the END
  50. command, when issued from within a SWITCH statment, did not produce the
  51. desired effect, and so:
  52.  
  53.  1. A source-level patch was added to the C-Kermit PATCHES file:
  54.  
  55.       http://www.columbia.edu/kermit/f/PATCHES
  56.  
  57.  2. The updated ckepage.ksc works around this by using STOP rather than END.
  58.     However, this could interfere with applications that embed calls to
  59.     TAPMSG within other C-Kermit scripts, so solution (1) is preferable.
  60.  
  61. The next C-Kermit release will fix this problem.
  62.  
  63. - Frank